<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: WuLiangHang
  Date: 2021/10/29
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<%
    ArrayList<String> list = (ArrayList<String>) request.getAttribute("list");
    list = list == null ? new ArrayList<String>() : list;
%>
<head>
    <title>Title</title>
</head>
<body>
<%
    for (int i = 0; i < list.size(); i++) {
%>
<%=list.get(i)%>
<%
    }
%>
</body>
</html>
